<template>
  <div class="main">
    <!-- 异步组件实验性 -->
    <Suspense>
      <template v-slot:default>
        <SusChild></SusChild>
      </template>
      <template v-slot:fallback> 加载中... </template>
    </Suspense>
  </div>
</template>
<script setup lang="ts">
import SusChild from "@/components/common/Sus-child.vue";
import { Suspense, ref } from "vue";
</script>
<style lang="scss" scoped>
.main {
  width: 800px;
  height: 400px;
}
</style>
